pragma Singleton

import QtQuick 2.7
import QtQuick.Controls 2.3
import Quick.Package 1.0

Item{


    property alias normal: pf
    property alias awesome: awesome
    property alias siyuan: siyuan
    property alias pmzd: pmzd
    property alias zihun43: zihun43
    property alias lcd: lcd




    readonly property url path:AppPath.getPath()

    //正文字体

    FontLoader{
        id:pf
        source: "file:///" + path + "/resource/ttf/normal/PingFang-Regular.ttf"
    }

    FontLoader{
        id:awesome
        source: "file:///" + path + "/resource/ttf/icons/fontawesome-webfont.ttf"
    }

    FontLoader{
        id:siyuan
        source: "file:///" + path + "/resource/ttf/specil/SourceHanSansCN-Light.otf"
    }
    FontLoader{
        id:pmzd
        source: "file:///" + path + "/resource/ttf/specil/pangmenzhengdao.ttf"
    }
    FontLoader{
        id:zihun43
        source: "file:///" + path + "/resource/ttf/specil/zihun43.ttf"
    }
    FontLoader{
        id:lcd
        source: "file:///" + path + "/resource/ttf/specil/DS-DIGI.ttf"
    }

}
